#ifndef _LOAD_CONTAINER_H_
#define _LOAD_CONTAINER_H_

#include <dlcom/cominc.h>
#include <dlcom/objectrun.hpp>
#include "msgproxy.h"

class CLoadContainer
{
public:
	CLoadContainer();
	virtual ~CLoadContainer();
public:
	int Init(_pinstance hinstance, const basic_tchar* path,const char* code);
	int UnInit(_pinstance hinstance);
	int Start(_pinstance hinstance, UINT type);
	int Stop(_pinstance hinstance, UINT type, UINT exit);
	int Exit(_pinstance hinstance, UINT exit);

private:
	CContainer m_Container;
};

#endif


